/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fuente general y fondo con imagen opaca */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../img/fondo.jpg') center/cover no-repeat fixed;
  opacity: 1;
  z-index: -1;
}

/* Contenedor general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Cabecera */
header {
  margin-bottom: 50px;
  background:
    linear-gradient(rgba(226, 194, 134, 0.8), rgba(128,128,128,0.8)),
    url('Parque.png') center/cover no-repeat;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 2px solid rgba(34,139,34,0.3);
}

h1 {
  font-size: 3.5em;
  color: #000;
  text-shadow: 2px 2px 4px rgba(34,139,34,0.3);
  margin-bottom: 15px;
  font-weight: bold;
}
p {
  color: #000;
  font-weight: bold;
  text-align: center;
  font-size: 1.4em;
  line-height: 1.6;
}
#gastronomia p {
  color: #000000;
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}
p.intro {
  color: #005500;
  font-size: 1.2em;
  font-weight: 600;
}
.subtitle {
  font-size: 1.4em;
  color: #023006;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: left;
}

/* Control de accesibilidad para tamaño de fuente */
.accessibility-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.8);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 16px;
  z-index: 1000;
  display: flex;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.accessibility-controls button {
  font-size: 1.9em;
  font-weight: bold;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: background 0.3s;
}
.accessibility-controls button:hover {
  background-color: #ddd;
  transform: scale(1.05);
}

/* Sección de gastronomía: layout recuadros */
#gastronomia {
  margin-bottom: 60px;
}
#gastronomia h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #720c0c;
}
#gastronomia .card {
  background-color: rgba(248, 220, 158, 0.9);
  border: 2px solid #296626;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#gastronomia .card h2 {
  margin-bottom: 15px;
  color: #800000;
}
#gastronomia .card ul {
  text-align: left;
  padding-left: 20px;
}
#gastronomia .card ul li {
  margin-bottom: 8px;
}

/* Tarjetas generales (.card) para otras secciones */
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid rgba(34,139,34,0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
  transition: left 0.5s;
}
.card:hover::before {
  left: 100%;
}
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.4);
}

/* Animación cards */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Estilos responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5em; }
  .card { padding: 20px; }
}

/* Footer ajustado para ocupar todo el ancho y estilo cabecera */
.site-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
  margin: 0;
  background:
    linear-gradient(rgba(226, 194, 134, 0.8), rgba(128,128,128,0.8));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 2px solid rgba(34,139,34,0.3);
  text-align: center;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.site-footer p {
  margin: 0;
  padding-bottom: 8px;
}

.site-footer a {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  text-decoration: none;
  color: #007acc;
  font-weight: 500;
}

.platos-imagenes {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.platos-imagenes img {
  width: 150px;
  height: auto;
  border-radius: 12px;
  border: 4px solid #f5eedc;
  object-fit: cover;
}
/* Enlace externo */
.external-link {
  color: #720c0c;
  text-decoration: underline;
  font-weight: 600;
}

/* Mapa responsive */
#mapa-reposteria {
  margin-top: 15px;
  border: 3px solid #f3b416;
  border-radius: 12px;
  overflow: hidden;
}
#mapa-reposteria iframe {
  width: 100%;
  height: 100px;
  display: block;
  border-radius: 10px;
}
